package com.hlk.file;

import com.hlk.file.config.ResourceConfig;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.TestComponent;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;

/**
 * @author hlk
 * @version 1.0
 * @date 2020-12-22 9:47
 */
@SpringBootTest
@RunWith(SpringRunner.class)
public class test {
    @Resource
    private ResourceConfig resourceConfig;

    @Test
    public void test() {
        System.out.println(resourceConfig.getHost());
    }
}
